$mainFontSize:.22rem;

*{
  margin: 0;
  padding: 0;
}

html{
  font-size: 13.3333333vw;
}

a{
  text-decoration: none;
}

.container{
  margin: 0 .24rem;
}

body{
  background: #f7f7f7;
  font-size: .24rem;
  width: 7.5rem;
  font-family: 'Microsoft YaHei', Arial, Helvetica, sans-serif;
}

.wrap-nav{
  display: flex;
  flex-wrap: wrap;
  width: 7.5rem;

  .nav-item{
    display: flex;
    width: 1.5rem;
    height: 1.42rem;
    flex-direction: column;
    align-items: center;

    img{
      display: block;
      width: .84rem;
      height: .84rem;
    }

    span{
      display: block;
      width: 1.5rem;
      height: .28rem;
      line-height: .28rem;
      color: #666;
      font-size: $mainFontSize;
      text-align: center;
      margin-top: .05rem;

    }
  }
}

